package com.mark.controller.backend;

import com.mark.common.ServerResponse;
import com.mark.service.IStatisticService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created by Choisaaaa on 2018/5/23.
 * 后台数据统计控制器.
 */

@Controller
@RequestMapping("/manage/statistic/")
public class StatisticManageController {
    @Autowired
    private IStatisticService iStatisticService;
    @RequestMapping(value="base_count.do" , method = RequestMethod.POST)
    @ResponseBody
    public ServerResponse getCampusData(){
        return iStatisticService.getCampusData();
    }
}
